home *** CD-ROM | disk | FTP | other *** search
- Path: Inter.NL.net!usenet
- From: Auke.Reitsma@net.HCC.nl (Auke Reitsma)
- Newsgroups: comp.lang.c
- Subject: Re: File Based linked list
- Date: Tue, 20 Feb 1996 20:23:45 GMT
- Organization: Inter.NL.net, The Internet Provider in The Netherlands.
- Message-ID: <4gdasd$bhv@altrade.nijmegen.inter.nl.net>
- References: <Pine.SOL.3.90.960219171637.21117B-100000@eddie>
- Reply-To: Auke.Reitsma@net.HCC.nl
- NNTP-Posting-Host: rt99-20.rotterdam.nl.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- Khan Riaz Ahmad <a228khao@cdf.toronto.edu> wrote:
-
- > Anyone know how to write a file based linked list... How
- > different is it to implement then a regular memory based linked list??
- > Any source code would be greatly appriciated... BTW I am a student and I
- > need it for an assignment...
-
- As this is for an assignment I'll reply with some questions. ;-)
-
- 1 You know how to make a linked list in memory with malloc and pointer?
- 2 What is the equal in the concepts of:
- - a pointer
- - an offset in a file?
-
- Alternatively:
-
- 3 You know how to make an array based linked list in memory?
- 4 What is equal in the concepts of:
- - an array element in memory
- - a record in a file?
-
- Answering correctly either pair of questions might lead you to useful
- results.
-
-
- Greetings from Delft, The Netherlands.
-
- Auke Reitsma
-
-